package com.ceshiren.mini.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Map;


public class OperateJenkinsJobDTO {

    private String jenkinsUrl;

    private String jenkinsUserName;

    private String jenkinsPassword;

    private String job;
    //job当前构建的url
    private String jobUrl;
    private Integer jobId;
    private String jobStatus;

    //构建参数
    private Map<String, String> params;

    @Override
    public String toString() {
        return "OperateJenkinsJobDTO{" +
                "jenkinsUrl='" + jenkinsUrl + '\'' +
                ", jenkinsUserName='" + jenkinsUserName + '\'' +
                ", jenkinsPassword='" + jenkinsPassword + '\'' +
                ", job='" + job + '\'' +
                ", jobUrl='" + jobUrl + '\'' +
                ", jobId=" + jobId +
                ", jobStatus='" + jobStatus + '\'' +
                ", params=" + params +
                '}';
    }

    public String getJenkinsUrl() {
        return jenkinsUrl;
    }

    public void setJenkinsUrl(String jenkinsUrl) {
        this.jenkinsUrl = jenkinsUrl;
    }

    public String getJenkinsUserName() {
        return jenkinsUserName;
    }

    public void setJenkinsUserName(String jenkinsUserName) {
        this.jenkinsUserName = jenkinsUserName;
    }

    public String getJenkinsPassword() {
        return jenkinsPassword;
    }

    public void setJenkinsPassword(String jenkinsPassword) {
        this.jenkinsPassword = jenkinsPassword;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getJobUrl() {
        return jobUrl;
    }

    public void setJobUrl(String jobUrl) {
        this.jobUrl = jobUrl;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }
}
